package com.wjyf.reducing_bento.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author wjyf
 * @since 2023-03-14 08:36:32
 */
@Getter
@Setter
@Accessors(chain = true)
public class CommodityUpdateDto extends CommodityAddDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品id")
    @TableId(value = "cod_id", type = IdType.AUTO)
    private Integer codId;

}
